﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:SilverlightDebateView"
	xmlns:SilverlightDebateViewModel="clr-namespace:SilverlightDebateViewModel;assembly=SilverlightDebateViewModel"
	mc:Ignorable="d"
	x:Class="SilverlightDebateView.Opinions"
	d:DesignWidth="640" d:DesignHeight="480" Width="500" Height="400">

	<UserControl.DataContext>
		<SilverlightDebateViewModel:OpinionsViewModel/>
	</UserControl.DataContext>

    <Grid x:Name="LayoutRoot" Background="#FFA7CCA6">
        <TextBlock Margin="12,13,178,0" TextWrapping="Wrap" Text="Opinions" VerticalAlignment="Top" FontSize="32">
			<TextBlock.Foreground>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FF0C35DC" Offset="1"/>
					<GradientStop Color="#FF003EFF"/>
				</LinearGradientBrush>
			</TextBlock.Foreground>
		</TextBlock>
        <Button Content="X" HorizontalAlignment="Right" Height="30" Margin="0,17,20,0" VerticalAlignment="Top" Width="34" Command="{Binding VMMainPageViewModel.CloseOpinionsCommand}"/>
	</Grid>
</UserControl>
